import Vue from 'vue'
import Router from 'vue-router'
import Detail from '../components/detail.vue'


Vue.use(Router) // 让路由在vue中生效

export default new Router({ // 路由的配置
    routes:[{
        path: '/detail',
        component:Detail,
    }]
})